package com.epoint.netty.rpc.server.impl;

import com.epoint.netty.rpc.server.User;
import com.epoint.netty.rpc.server.UserService;

public class UserServiceImpl implements UserService {

    @Override
    public User getUserByName(String userName){
        User user = new User();
        user.setName(userName);
        user.setAge(28);
        return user;
    }
}
